if ((Get-PSSnapin | where-object {$_.name -eq "vCenterLabManagerSnapIn"}) -eq $null) { Add-PSSnapin vCenterLabManagerSnapIn } 
